//
//  NSDate+Extension.h
//  ZiChanBao
//
//  Created by liujinliang on 15/6/23.
//  Copyright (c) 2015年 WorldUnion. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSDate (Extension)

//字符串转日期
+(NSDate*)formatterDate:(NSString *)style withDate:(NSString*)dateStr;
- (NSString *)formatterDatestyle:(NSString *)style type:(NSInteger)type;
-(NSString*)getDateFormateWithDateShow:(BOOL)dateShow  withTimeShow:(BOOL)timeShow;

+(NSString *)timeIntervalToDataString:(NSTimeInterval)timeInterval  formate:(NSString *)formate;

@end
